package com.itsitio.registeradmin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.itsitio.registeradmin.dao.CountryDao;
import com.itsitio.registeradmin.model.Country;
import com.itsitio.registeradmin.service.CountrySrv;

@Service
public class CountrySrvImpl implements CountrySrv{

	@Autowired
	private CountryDao countryDao;

	@Override
	public Country getCountryById(Integer countryId) {		
		return this.countryDao.obtener(countryId);
	}
	
	

}
